package cn.xmkeshe.front.impl;

import cn.xmkeshe.dao.IItemDao;
import cn.xmkeshe.front.IItemServiceFront;
import cn.xmkeshe.model.Item;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class IItemServiceFrontImpl implements IItemServiceFront {

  @Resource
  private IItemDao iItemDao;

  @Override
  public List<Item> list() {
    return iItemDao.findAll();
  }
}
